###
# FPP Test
#
# Builds unit tests for FPP autocoder
###
add_fprime_subdirectory("${CMAKE_CURRENT_LIST_DIR}/array/")
add_fprime_subdirectory("${CMAKE_CURRENT_LIST_DIR}/component/")
add_fprime_subdirectory("${CMAKE_CURRENT_LIST_DIR}/dp/")
add_fprime_subdirectory("${CMAKE_CURRENT_LIST_DIR}/state_machine/")
add_fprime_subdirectory("${CMAKE_CURRENT_LIST_DIR}/enum/")
add_fprime_subdirectory("${CMAKE_CURRENT_LIST_DIR}/interfaces/")
add_fprime_subdirectory("${CMAKE_CURRENT_LIST_DIR}/struct/")

set(SOURCE_FILES "source.cpp")
set(MOD_DEPS
    ${PROJECT_NAME}/array
    ${PROJECT_NAME}/component/active
    ${PROJECT_NAME}/component/empty
    ${PROJECT_NAME}/component/passive
    ${PROJECT_NAME}/component/queued
    ${PROJECT_NAME}/dp
    ${PROJECT_NAME}/enum
    ${PROJECT_NAME}/interfaces
    ${PROJECT_NAME}/state_machine/external_instance
    ${PROJECT_NAME}/state_machine/internal/initial
    ${PROJECT_NAME}/state_machine/internal/state
    ${PROJECT_NAME}/state_machine/internal_instance/choice
    ${PROJECT_NAME}/state_machine/internal_instance/initial
    ${PROJECT_NAME}/state_machine/internal_instance/state
    ${PROJECT_NAME}/struct
)

register_fprime_deployment()

